import { createStore } from "vuex"

const store = createStore({
  state() {
    return {
      theUpload: {}
    }
  },
  mutations: {
    addDriverData(state, data) {
      state.theUpload = data
    },
    addVehicleData(state, data) {
      state.theUpload.carsVo = data
    }
  }
})

export default store